<template lang="html">
  <div class="text-box">
    <div class="text-box1">
      <input type="text" name="" value="" placeholder="搜索食谱">
      <div class="icc">
          <i class="iconfont icon-sousuo"></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
}
</script>

<style lang="less" scoped>
.text-box{
  width: 100%;
  background: #fff;
  text-align: center;
  .text-box1  {
    width: 90%;
    height: 0.7rem;
    background-color: #E3E3E3;
    border-radius: 0.2rem;
    margin: 0.3rem 0 0 0.4rem;
    input{
      width: 80%;
      height: 0.7rem;
      font-size: 0.4rem;
      letter-spacing: 0.03rem;
      color: #B2B2B2;
      border-radius: 0.2rem;
      float: left;
      background-color: #E3E3E3;
      text-align: center;
      &:hover{
        border: 1px solid #E3E3E3;
        box-sizing: border-box;
        outline: none;
      }
    }
    .icc{
      height: 100%;
      width: 1rem;
      float: left;
      i{
        font-size: 0.5rem;
      }
    }

  }
}
</style>
